package com.tourlaid.mamagerment.ao.pc

import com.tourlaid.mamagerment.entity.ResponseData
import com.tourlaid.mamagerment.vo.GoodsListVo
import com.tourlaid.mamagerment.vo.GoodsVo
import java.util.*

/**
 * Created by xiaoyongge on 2017/7/21.
 */
interface GoodsAo {

    fun list(pageNo: Int, pageSize: Int): ResponseData<ArrayList<GoodsListVo>>

    fun insert(goodsName: String?, controlNo: String?)

    fun  detail(goodsId: Long): GoodsVo

    fun  update(goodsId: Long?, goodsName: String?, controlNo: String?)

    fun  delete(goodsId: Long?)
}